{if $items}
<table class="table">
    <thead><tr>
        <td width="160">时间</td>
        <td width="80">类型</td>
        <td width="160">订单</td>
        <td width="140">流水号</td>
        <td width="100">交易金额(元)</td>
        <td width="100">余额(元)</td>
    </tr></thead>
    <tbody>
        {loop $items $v}
        <tr>
            <td>{$v[addtime]}</td>
            <td>{$v[type_name]}</td>
            <td><a {if $v[type]=='pay'}href="/member/order/detail?no={$v[order_no]}{/if}" class="link2">{if $v[type]=='pay'}{$v[order_no]}{else}-{/if}</a></td>
            <td>{$v[serial_no]}</td>
            <td class="c-danger">{$v[amount]}</td>
            <td>{$v[balance]}</td>
        </tr>
        {/loop}
    </tbody>
</table>
{$pagemenu}
{else}
<div class="empty_tip">
    没有找到相应的资金流水
</div>
{/if}
